-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Port #[crate_name]
to the new attribute parsing infrastructure
#137729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
04bafec
to
3898182
Compare
This comment has been minimized.
This comment has been minimized.
3898182
to
81fc9d1
Compare
4e90cee
to
21838d5
Compare
21838d5
to
d1ee9c4
Compare
@fmease and I decided to delay this PR for a bit until more diagnostic infra for attrs lands (hopefully next week) to make the duplicate error a warning to be consistent with current master. |
r=fmease,bjorn3 once that PR lands and you can downgrade the error to a lint warning again. @bors delegate+ |
✌️ @jdonszelmann, you can now approve this pull request! If @fmease told you to " |
This comment was marked as resolved.
This comment was marked as resolved.
Hi @jdonszelmann and @fmease, #137687 has reached beta so it would be great if we could resolve that via a beta-backport of this PR. Do you think it's possible to resolve the review feedback and merge this PR in the next week or so? I can probably pitch in to help if necessary 🙂 |
Hi there. We wanted to delay this until attribute diagnostics. Something that should not be a lot of work but I have not worked as much on recently as I maybe should. I can't to this tomorrow, but likely next week. The pr has been reviewed but there was a bit of an issue around incremental, which I now know how to solve but just haven't yet. Is that a reasonable timeframe? I am pretty busy with organising rust week atm, but knowing the solution I guess the only important thing is that it gets quick reviews? Let me know how that sounds |
Just to clarify, will this PR then depend on the attribute diagnostics work? (Is that #138164?) Generally, for backports, we try to keep the backport as small as possible so if this PR can be made to work independently of that PR (possibly even with a degraded diagnostics experience), that would be highly preferred. |
No. We decided to delay this because it's relatively low prio and any nice and permanent solution for this depends on that. I'll make a temp fix that at least doesn't ice separately then, that sounds better for now. I don't mind doing it, I know the problem now and then I also know how to fix it permanently later. You'll hear from me |
Note that #137687 actually has two separate problems/subissues:
This PR only appears to address the first problem. The second problem would probably need to have a separate fix. |
ok this is weird, I've copied just the tests over to master to fix it in a temporary way, but can no longer reporoduce the issue. Something else must have solved it in the meantime. Let me see what. |
(I know I've said this in the other PR too, but just in case) Just a heads up: I split #137687 into two issues:
|
d1ee9c4
to
1f5c49f
Compare
Amazing work, thank you! @bors r+ rollup |
Port `#[crate_name]` to the new attribute parsing infrastructure r? `@fmease` Closes rust-lang#137687
merge conflicts @bors r- |
9a7d66d
to
48a4e2d
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
@bors r=fmease |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 4eedad3 (parent) -> 93edf9f (this PR) Test differencesShow 14 test diffsStage 1
Stage 2
Additionally, 10 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 93edf9f9b0bf284d8f8cbe52af5d0569d0cf5850 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
yay, finally! |
Finished benchmarking commit (93edf9f): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -1.1%, secondary 1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 4.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 467.477s -> 468.299s (0.18%) |
r? @fmease
Closes #137687